<?php
/**
 * Created by PhpStorm.
 * User: Admin
 * Date: 2018/7/26
 * Time: 11:52
 */
namespace app\test\controller;

class Api
{
    public function api($param,$option='foo')
    {
        return $param;
    }

    protected function client_can_no_see()
    {

    }
}
$service=new Yar_Server(new Api());
$service->handle();